package com.itheima.service;

import com.itheima.domain.store.Catalog;

import java.util.List;

public interface CatalogService {
    //查找所有
    List<Catalog> findAll(String pageNum, String pageSize);

    //新增
    void save(Catalog catalog);

    //根据id删除
    Boolean deleteByIds(String ids);


    //根据id查找
    Catalog findById(String id);

    //更新数据
    void update(Catalog catalog);

    List<Catalog> list();
}
